package com.nuanshui.heatedloan.dao.cms.security;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.nuanshui.heatedloan.entity.cms.security.UserRole;


/**
 * 用户权限的dao
 */
public interface UserRoleDao extends JpaRepository<UserRole, Long>,
		JpaSpecificationExecutor<UserRole> {
	List<UserRole> findByUserId(Long userId);
}
